//
//  LYMenuItem.m
//  lottery
//
//  Created by 赵国腾 on 16/6/11.
//  Copyright © 2016年 赵国腾. All rights reserved.
//

#import "LYMenuItem.h"

@implementation LYMenuItem

+ (instancetype)menuItemWithImage:(UIImage *)image title:(NSString *)title {
    
    LYMenuItem *menuItem = [[LYMenuItem alloc] init];
    
    menuItem.image = image;
    menuItem.title = title;
    
    return menuItem;
}

+ (NSArray *)menuItems {
    
    LYMenuItem *item = [LYMenuItem menuItemWithImage:[UIImage imageNamed:@"Development"] title:nil];
    
    LYMenuItem *item1 = [LYMenuItem menuItemWithImage:[UIImage imageNamed:@"Development"] title:nil];
    
    LYMenuItem *item2 = [LYMenuItem menuItemWithImage:[UIImage imageNamed:@"Development"] title:nil];
    
    LYMenuItem *item3 = [LYMenuItem menuItemWithImage:[UIImage imageNamed:@"Development"] title:nil];
    
    LYMenuItem *item4 = [LYMenuItem menuItemWithImage:[UIImage imageNamed:@"Development"] title:nil];
    
    LYMenuItem *item5 = [LYMenuItem menuItemWithImage:[UIImage imageNamed:@"Development"] title:nil];
    
    return @[item, item1, item2, item3, item4, item5];
}

@end
